#ifndef SKYPLOTWIDGET_H
#define SKYPLOTWIDGET_H

#include <QWidget>
#include "QNmea0183Package.h"

class SkyPlotWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SkyPlotWidget(QWidget *parent = 0);
    ~SkyPlotWidget();

public slots:
    void setPrefix(const QString &prefix) { _prefix = prefix; update(); }
    void setSatellites(const QList<SatelliteInfo> &sats);

protected:
    void paintEvent(QPaintEvent *);

private:
    QList<SatelliteInfo> _satList;
    QString _prefix;
};

#endif // SKYPLOTWIDGET_H
